package com.mapResult.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * @author chenming
 * @description
 * @create: 2022-11-02
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BusDataBaseInfoVO {


    @TableId(type = IdType.AUTO)
    private Long id;

    private String label;

    private String driverClassName;

    private String url;

    private String username;

    private String password;

    private String tableName;

    private String targetDomain;

    /**
     * 连接状态 true（连接正常） false （连接失败）
     */
    private Boolean status;

    private Map<String, Object> columns;

    private Map<String, Object> columnMappings;

}
